package model.punishte;

import javax.xml.bind.annotation.*;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   3/9/13
 * Time:   10:27 PM
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlRootElement(name = "daljeProdukti")
public class DaljeProdukti {
    private int id;
    private int produktID;
    private int burimID;
    private int destinacionID;
    @XmlElement(nillable = true)
    private Date dataDaljes;
    private double sasia;
    private double kostoCopa;

    public DaljeProdukti() { }

    public DaljeProdukti(double kostoCopa, int id, int produktID, int burimID, int destinacionID, Date dataDaljes, double sasia) {
        this.kostoCopa = kostoCopa;
        this.id = id;
        this.produktID = produktID;
        this.burimID = burimID;
        this.destinacionID = destinacionID;
        this.dataDaljes = dataDaljes;
        this.sasia = sasia;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProduktID() {
        return produktID;
    }

    public void setProduktID(int produktID) {
        this.produktID = produktID;
    }

    public int getBurimID() {
        return burimID;
    }

    public void setBurimID(int burimID) {
        this.burimID = burimID;
    }

    public int getDestinacionID() {
        return destinacionID;
    }

    public void setDestinacionID(int destinacionID) {
        this.destinacionID = destinacionID;
    }

    public Date getDataDaljes() {
        return dataDaljes;
    }

    public void setDataDaljes(Date dataDaljes) {
        this.dataDaljes = dataDaljes;
    }

    public double getSasia() {
        return sasia;
    }

    public void setSasia(double sasia) {
        this.sasia = sasia;
    }

    public double getKostoCopa() {
        return kostoCopa;
    }

    public void setKostoCopa(double kostoCopa) {
        this.kostoCopa = kostoCopa;
    }
}
